package com.biz;

import com.core.Result;
import com.entity.bo.PayData;
import com.entity.model.Bill;
import com.core.BaseBiz;
import com.entity.vo.BillListVO;
import com.util.webpage.PageData;

import java.util.List;
import java.util.Map;


/**
 * Created by jc on 2019/11/16.
 */
public interface BillBiz extends BaseBiz<Bill> {
    List<BillListVO> findCustomerBill(PageData cond);

    void delExpiredBillByCustomerId(Map cond);

    BillListVO getBillDetail(Integer billId);

    List<Bill> billList(PageData cond);

    List<Bill> vipBillList(PageData cond);

    List<Bill> commissionUserBillList(PageData cond);

    List<Bill> commissionBillList(PageData cond);

    Bill findCommissionBillListSum(PageData cond);

    BillListVO getTodayStatistics(Integer parentCustomerId,Integer type);

    BillListVO withdrawStatistics(Integer parentCustomerId,Integer type);

    void updateCommissionBill(Integer parentCustomerId,Integer withdrawBillId);

    void updateCommissionBillSuccess(Integer withdrawBillId);

    void updateCommissionBillFail(Integer withdrawBillId);

    List<Bill> bdStatisticsList(PageData cond);

    List<Bill> bdUserStatistics(PageData cond);
}
